<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dhtmlxtree.js"></script>
<script type="text/javascript" src="../../dhtmlxtree_json.js"></script>
<script type="text/javascript" src="../../dhtmlxcommon.js"></script>
<link href="../../dhtmlxtree.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
var tempjson=[{
				id:'0',name:'root',isLeaf:false,sub:[{
						id:'01',name:'root01',isLeaf:true
                  		},{
                		id:'02',name:'root02',isLeaf:false,sub:[{
                			id:'031',name:'root031',isLeaf:true
                     		
                    		}]
                 		},{
                 		id:'03',name:'root03',isLeaf:true
                        }
                 		]
              }];
var tree;
function load1(){
	tree = new dhtmlXTreeObject("treediv",
						"100%", "100%", 0);
				tree.setImagePath("../csh_yellowbooks/");
				tree.enableCheckBoxes(1);
				tree.loadJSONObject(tempjson);
}
</script>
</head>
<body onload="load1;">
<div id="treediv"></div>
</body>
</html>